<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
         *{
            margin: o;
            padding: 0;
            box-sizing: border-box;
            text-decoration: none;
            list-style: none;
        }
        div{display: flex;
            background-color: #ffc0cb;
            width: 640px;
        }
        a{
            width: 80px;
            height: 50px;
            font-size: 16px;
            color: #fff;
            line-height: 50px;
            text-align: center;
            justify-content: space-around;
        }
        a:hover{
            background-color: #008000;
        }
    </style>
</head>
<body>
     <div>
        <a href="">新闻1</a>
        <a href="">新闻2</a>
        <a href="">新闻3</a>
        <a href="">新闻4</a>
        <a href="">新闻5</a>
        <a href="">新闻6</a>
        <a href="">新闻7</a>
        <a href="">新闻8</a>
     </div>
</body>
</html>